// 经典继承 [构造函数继承]
function SuperType() {
  this.colors = ['red', 'yellow', 'blue'];
}

function SubType() {
  SuperType.apply(this)
}

var instance = new SubType()

instance.colors.push('pink');
console.log(instance);